import os
datasets = ["computers", "cameras", "shoes", "watches"]
F1 = []
with open('temp/fine-tune.txt', 'w') as f:
    pass
# [1,2,3,4,5,6,7,8,9,10]: #考察在数据水平比较低的情况下 改进（分区）之后的主动学习
# [5,10,15, 20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100] #考察普通的主动学习
for percent in [1,2,3,4,5,6,7,8,9,10]:
    cmd = """ python active_learning.py \
  --task %s\
  --target_task %s\
  --batch_size 32\
  --max_len 64\
  --lr 3e-5\
  --n_epochs %d\
  --lm %s\
  --use_gpu\
  --fp16\
  --al\
  --percent %d"""% ("wdc_shoes_small","wdc_cameras_small", 20, "distilbert", percent)
    print(cmd)
    os.system(cmd)

